package com.fwtai.service.web;

import com.fwtai.bean.PageFormData;
import com.fwtai.service.core.UserService;
import org.springframework.stereotype.Service;

/**
 * 个人中心业务层
 * @作者 田应平
 * @版本 v1.0
 * @QQ号码 444141300
 * @创建日期 2022-06-21 11:02:27
 * @官网 <url>http://www.fwtai.com</url>
*/
@Service
public class ProfileService{

  private final UserService userService;

  public ProfileService(final UserService userService){
    this.userService = userService;
  }

  public String editPassword(final PageFormData formData){
    return userService.editPassword(formData);
  }
}